package com.dzpk.gameserver.util;

public class GameServerConstants {

    public static final int LENGTH_OF_MAX_ACTION = 4 * 1024 * 1024;

    public static final byte LENGTH_OF_ACTION_ID = 4;

    public static final byte LENGTH_OF_ENCRYPT = 4;

    // 默认字符集
    public static final String DEFAULT_CHARSET = "UTF-8";

    // 数据包开始用4个字节表示后续数据的长度
    public static final int TOTAL_MESSAGE_LENGTH = 4;

    public static final String SIGN_SESSION_ROOM = "SIGN_SESSION_ROOM";

    public static final String SIGN_SESSION_COPY = "SIGN_SESSION_COPY";

    public static final String SIGN_SESSION_TOWER_COPY_ID = "SIGN_SESSION_TOWER_COPY_ID";
    // 关卡统计信息
    public static final String SIGN_SESSION_COPY_STAT = "SIGN_SESSION_COPY_STAT";

    public static final String SIGN_SESSION_FIGHT = "SIGN_SESSION_FIGHT";

    public static final String SIGN_SESSION_PLAYER = "SIGN_SESSION_PLAYER";


    // 玩家离线类型
    public static final int PLAYER_OFFLINE_LOGOUT = 1; // 正常退出

    public static final int PLAYER_OFFLINE_NETWORK_OUT = 2; // 掉线

    public static final int PLAYER_OFFLINE_KICK4OTHER = 3; // 被顶号


}
